package com.example.ormsqlsplicingframe1.orm.registry;

import com.example.ormsqlsplicingframe1.utlis.DateUtils;

import java.lang.reflect.Field;
import java.time.LocalDate;

public class RegistryLocalDate implements Registry<LocalDate,String>{


    @Override
    public LocalDate decode(String value, Field field) {
        return  DateUtils.LocaleParse(value);
    }

    @Override
    public Class<LocalDate> getObj() {
        return LocalDate.class;
    }
}
